using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Transaction;
namespace Thaire.Investment.Repository.Mapping
{
       
    class   DepositInterestMap : ClassMap<DepositInterest>
    {

        public DepositInterestMap()
            {
                Table("DEPOSIT_INTEREST");
                Id(x => x.DepositInterestID,"DEPOSIT_INTEREST_ID").GeneratedBy.Native();

                Map(x => x.DepositHeaderID,"DEPOSIT_HEADER_ID");
 Map(x => x.InterestApplyDate,"INTEREST_APPLY_DATE");
 Map(x => x.InterestRate,"INTEREST_RATE");

            }


    }

}